﻿using System;
using Spider;

static class Program
{
    /// <summary>
    /// 应用程序的主入口点。
    /// </summary>
    [STAThread]
    static void Main()
    {
#if DEBUG
        new HandleService().Start();
#else
        ServiceBase[] srv;
        srv = new ServiceBase[]
        {
            new IPCServer()
        };
        ServiceBase.Run(srv);
#endif
    }
}